package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 考试试卷题目对象 exam_paper_detail_question
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class PaperDetailQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long paperId;

    /** 题目内容 */
    @Excel(name = "题目内容")
    private String topicContent;

    private Integer topicDifficulty;
    /** 题目分数 */
    @Excel(name = "题目分数")
    private Integer topicScore;

    /** 试题图片 */
    @Excel(name = "试题图片")
    private String topicPhotos;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long topicType;

    /** 试题解析 */
    @Excel(name = "试题解析")
    private String topicAnalyze;

    /** 0用户没有作答 1回答正确 2回答错误 */
    private Long userIsAnswer;

    /** 是否逻辑删除:0:否,1:是 */
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPaperId(Long paperId) 
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setTopicContent(String topicContent) 
    {
        this.topicContent = topicContent;
    }

    public String getTopicContent() 
    {
        return topicContent;
    }
    public void setTopicScore(Integer topicScore)
    {
        this.topicScore = topicScore;
    }

    public Integer getTopicScore()
    {
        return topicScore;
    }
    public void setTopicPhotos(String topicPhotos) 
    {
        this.topicPhotos = topicPhotos;
    }

    public String getTopicPhotos() 
    {
        return topicPhotos;
    }
    public void setTopicType(Long topicType) 
    {
        this.topicType = topicType;
    }

    public Long getTopicType() 
    {
        return topicType;
    }
    public void setTopicAnalyze(String topicAnalyze) 
    {
        this.topicAnalyze = topicAnalyze;
    }

    public String getTopicAnalyze() 
    {
        return topicAnalyze;
    }
    public void setUserIsAnswer(Long userIsAnswer) 
    {
        this.userIsAnswer = userIsAnswer;
    }

    public Long getUserIsAnswer() 
    {
        return userIsAnswer;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    public Integer getTopicDifficulty() {
        return topicDifficulty;
    }

    public void setTopicDifficulty(Integer topicDifficulty) {
        this.topicDifficulty = topicDifficulty;
    }

    @Override
    public String toString() {
        return "PaperDetailQuestion{" +
                "id=" + id +
                ", paperId=" + paperId +
                ", topicContent='" + topicContent + '\'' +
                ", topicDifficulty=" + topicDifficulty +
                ", topicScore=" + topicScore +
                ", topicPhotos='" + topicPhotos + '\'' +
                ", topicType=" + topicType +
                ", topicAnalyze='" + topicAnalyze + '\'' +
                ", userIsAnswer=" + userIsAnswer +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
